#include <stdio.h>
#include <e_file.h>
#include <string.h>

int main (int argc, char **argv)
{
	char *buf  = "happy every day!\n";
	int cnt;
	int fd = open (argv[1], O_WRONLY);
	if (-1 == fd) {
		perror ("open ()");
		return -1;
	}
	write (fd, buf, strlen(buf));
	close (fd);
	return 0;
}
